package com.xinsilu.hospital.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("case_table")
@ApiModel(value="CaseTable对象", description="")
public class CaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value = "关联病人id")
    @TableField("user_id")
    private Integer userid;

    @ApiModelProperty(value = "项目id")
    @TableField("project_id")
    private Integer projectid;

    @ApiModelProperty(value = "做项目的时间")
    @TableField("project_data")
    private String projectdata;

    @ApiModelProperty(value = "项目结果")
    @TableField("Project_results")
    private String Projectresults;

    @ApiModelProperty(value = "手术id")
    @TableField("operation_id")
    private Integer operationid;

    @ApiModelProperty(value = "用药记录")
    @TableField("Medication_record")
    private  String Medicationrecord;
}
